home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5308 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: skypoint.com!usenet
  2. From: Troy Barlow <tbarlow@skypoint.com>
  3. Newsgroups: comp.os.ms-windows.programmer.win32,comp.lang.basic.visual.misc,comp.os.ms-windows.programmer.ole,comp.lang.c++
  4. Subject: Re: Calling 32-bit DLLs from 16-bit-Applications
  5. Date: Sat, 03 Feb 1996 11:14:43 -0600
  6. Organization: SkyPoint Communications, Inc.
  7. Message-ID: <31139803.61B1@skypoint.com>
  8. References: <4enu1u$20c_001@adv.magwien.gv.at> <3110E37C.352C@novabase.pt> <823286049snz@chrism.demon.co.uk>
  9. NNTP-Posting-Host: dial008.skypoint.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b6a (Win95; I)
  14.  
  15. Chris Marriott wrote:
  16. > Wrong. Universal thunks are ONLY available on Win32s. What's needed here
  17. > are "generic thunks"; these are available under Win95 and NT, but NOT
  18. > Win32s.
  19. > There is no thunking mechanism which works under all 3 Win32 platforms :-<
  20. > Chris
  21. > --
  22. > --------------------------------------------------------------------------
  23.  
  24.    I just finished a device driver VXD for some non-linear video 
  25. hardware we made.  Under Win32s it uses "Universal Thunks" to thunk
  26. from a 32bit dll to a 16bit dll, at this point the 16 bit dll calls
  27. directly into the VXD.  It's almost the same for Win95, but it uses
  28. "Flat Thunks" and a thunk compiler to create the thunk obj files.
  29. After MANY calls to Microsofts DDK support,  and tons of docs, there
  30. is NO WAY to thunk and call a VXD under WinNT.  Thunking don't exist
  31. in WinNT!
  32.  
  33.    If you could prove me wrong I'd be happy! Soon I might have to port
  34. the VXD code to WinNT.  My understanding is I will have to do some
  35. reading on HAL ;-)
  36.